package models;

import play.data.validation.Constraints;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by IntelliJ IDEA.
 * User: hungdq
 * Date: 4/21/12
 * Time: 10:28 AM
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class Unit {
    @Id
    public Long id;
    @Constraints.Required
    public String name;
    public String description;
}
